package xyz.lxbq.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.lxbq.mapper.StudentMapper;
import xyz.lxbq.pojo.Student;
import xyz.lxbq.service.StudentServicre;

import java.util.List;
import java.util.Map;

/**
 * @author XuHu
 * @version 1.0
 * @date 2020/10/17 15:02
 */
@Service
public class StudentServicreImel implements StudentServicre {

    @Autowired
    StudentMapper studentMapper;

    @Override
    public int getStydentcount(Map<String,Object> map) {
        return studentMapper.getStydentcount(map);
    }

    @Override
    public List<Student> getStudentPage(Map<String,Object> map) {
        return studentMapper.getStudentPage(map);
    }

    @Override
    public int deletedStudent(int id) {
        return studentMapper.deletedStudent(id);
    }

    @Override
    public int addStudent(Student student) {
        return studentMapper.addStudent(student);
    }

    @Override
    public int getStudentNo(String no) {
        return studentMapper.getStudentNo(no);
    }

    @Override
    public List<Student> getexcelPage(Map<String, Object> map) {
        return studentMapper.getexcelPage(map);
    }


}
